import { Tools } from './../common/utils/tools';
import { Transaction } from "tiny-entity2";
import { Guid } from "../common/utils/guid";
import { ServiceException } from '../common/excpetion/serviceException';
import * as archiver from 'archiver';
import * as fs from "fs";

export class BaseService {
    constructor() {
    }
}

export interface QueryParamsBase {
    /**
     * 当前页码从1开始
     * 
     * @type {number}
     * @memberof QueryParamsBase
     */
    pageIndex?: number;
    /**
     * 每页数据的条数
     * 
     * @type {number}
     * @memberof QueryParamsBase
     */
    countOfPage?: number;

    orgId?: string;
}